// store 主文件 核心库 
// 把reduce具体操作合并到store中
import { configureStore } from "@reduxjs/toolkit";
// 引入reduce操作
import typeReducer from './slices/typeSlice'
import orderReducer from './slices/orderSlice'
import shopsReducer from './slices/shopsSlice'
import userSlice from "./slices/userSlice";

const store = configureStore({
    reducer: {
        user: userSlice,
        order: orderReducer,
        shops: shopsReducer,
        type: typeReducer,
        shops: shopsReducer
    }
})
// 导出store
export default store;